﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBase.Domain
{
    /// <summary>
    /// 企业表
    /// </summary>
    public class Firm
    {
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// 养殖场名称
        /// </summary>
        public string? Farm { get; set; }

        /// <summary>
        /// 存栏数量
        /// </summary>
        public string? Stock { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        public string? Principal { get; set; }

        /// <summary>
        /// 公司名称
        /// </summary>
        public string? FirmName { get; set; }

        /// <summary>
        /// 生产许可证
        /// </summary>
        public string? Permission { get; set; }

        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime? Start { get; set; }

        /// <summary>
        /// 公司地址
        /// </summary>
        public string? Address { get; set; }

        /// <summary>
        /// 公司简介
        /// </summary>
        public string? Intro { get; set; }

        /// <summary>
        /// 批次Id
        /// </summary>
        public string BatchId { get; set; } 
    }
}
